using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Master
{
   
    public class Bank 
    {
        #region Properties
        // BANK_ID
        public virtual int BankId { set; get; }
        // BANK_CODE
        public virtual String BankCode { set; get; }
        // BANK_BRANCH_CODE
        public virtual String BankBranchCode { set; get; }
        // BANK_NAME_EN
        public virtual String BankNameEn { set; get; }
        // BANK_NAME_TH
        public virtual String BankNameTh { set; get; }
        // BANK_STATUS
        public virtual String BankStatus { set; get; }
        // CREATE_USER_ID
        public virtual String CreateUserId { set; get; }
        // CREATE_TS
        public virtual DateTime CreateTs { set; get; }

        #endregion



        public override bool Equals(object obj)
        {
            if (obj == null)
                return false;
            if (obj.GetType() != typeof(Bank) && !(obj is Bank))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}", BankId);
        }


    }

   
  
}